package com.example.test18security;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 * @author EDZ
 */

@SpringBootApplication
@MapperScan("com.example.test18security.mapper")
@EnableGlobalMethodSecurity(securedEnabled=true,prePostEnabled = true)
public class Test18SecurityApplication {

    public static void main(String[] args) {
        SpringApplication.run(Test18SecurityApplication.class, args);
    }

}
